package com.ip.user.models.vo;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 登录日志VO（View Object）
 */
public class SysLoginLogVO implements Serializable {
    private static final long serialVersionUID = 1L;
    
    /**
     * 日志记录唯一标识，自增
     */
    private Integer logId;
    
    /**
     * 用户ID（逻辑关联sys_user.user_id）
     */
    private Integer userId;
    
    /**
     * 登录用户名
     */
    private String userName;
    
    /**
     * 登录时间
     */
    private LocalDateTime loginTime;
    
    /**
     * 登录状态（1=成功，0=失败）
     */
    private Integer loginStatus;
    
    /**
     * 失败原因
     */
    private String failReason;
    
    public SysLoginLogVO() {}
    
    // Getters and Setters
    public Integer getLogId() {
        return logId;
    }
    
    public void setLogId(Integer logId) {
        this.logId = logId;
    }
    
    public Integer getUserId() {
        return userId;
    }
    
    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    
    public String getUserName() {
        return userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }
    
    public LocalDateTime getLoginTime() {
        return loginTime;
    }
    
    public void setLoginTime(LocalDateTime loginTime) {
        this.loginTime = loginTime;
    }
    
    public Integer getLoginStatus() {
        return loginStatus;
    }
    
    public void setLoginStatus(Integer loginStatus) {
        this.loginStatus = loginStatus;
    }
    
    public String getFailReason() {
        return failReason;
    }
    
    public void setFailReason(String failReason) {
        this.failReason = failReason;
    }
}